package com.jackiechan.day14;

import java.util.ArrayList;
import java.util.List;

public class FuXi {
    public static void main(String[] args) {
        show();
    }
    public static void show(){
        List list = new ArrayList();
        list.add(100);
        list.add(200);
        list.add(300);
        list.add(100);
        System.out.println(list);
        list.remove(new Integer(100));
        System.out.println(list);
        List list1 = new ArrayList();
        list1.add(100);
        list.add(list1);
        System.out.println(list);
        list.remove(list1);
        System.out.println(list);
    }
}
